package com.deyuanyun.pic.wf.service.impl;

import com.deyuanyun.pic.common.util.StringUtils;
import com.deyuanyun.pic.wf.domain.TaskInstance;
import com.deyuanyun.pic.wf.domain.TaskInstanceExample;
import com.deyuanyun.pic.wf.mapper.TaskInstanceMapper;
import com.deyuanyun.pic.wf.service.TaskInstanceService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TaskInstanceServiceImpl implements TaskInstanceService {
    @Autowired
    private TaskInstanceMapper taskInstanceMapper;

    private static final Logger logger = LoggerFactory.getLogger(TaskInstanceServiceImpl.class);

    public TaskInstance selectByPrimaryKey(String id) {
        return this.taskInstanceMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.taskInstanceMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TaskInstance record) {
        return this.taskInstanceMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TaskInstance record) {
        return this.taskInstanceMapper.updateByPrimaryKey(record);
    }

    public int insert(TaskInstance record) {
        return this.taskInstanceMapper.insert(record);
    }
}